package com.metacube.questionbank.jdbc;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class AnswerMapper implements RowMapper<String>{

	@Override
	public String mapRow(ResultSet res, int line) throws SQLException {
		
		AnswerExtractor answerExtractor = new AnswerExtractor();
		
		return answerExtractor.extractAnswer(res);

	}
}
